package application.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "signarures")
public class SignaturesModel
{
    private List<SignatureModel> signatureModels = new ArrayList<SignatureModel>();

    @XmlElement(name = "signature")
    public List<SignatureModel> getSignatureModels()
    {
        return signatureModels;
    }

    public void setSignatureModels(List<SignatureModel> signatureModels)
    {
        this.signatureModels = signatureModels;
    }

    public  void addSignature(SignatureModel signatureModel)
    {
        signatureModels.add(signatureModel);
    }
}
